home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 November / CPNL0711.ISO / admin / secure / Tor - Privoxy - Vidalia.exe / Privoxy / default.filter < prev    next >
Text File  |  2006-11-20  |  43KB  |  946 lines

  1. # ********************************************************************
  2. #  File        :  $Source: /cvsroot/ijbswa/current/default.filter,v $
  3. #  $Id: default.filter,v 1.33 2006/11/16 17:10:43 fabiankeil Exp $
  4. #
  5. #  Purpose     :  Rules to process the content of web pages
  6. #  Copyright   :  Written by and Copyright (C) 2001 - 2006 the
  7. #                 Privoxy team. http://www.privoxy.org/
  8. #
  9. # We value your feedback. However, to provide you with the best support,
  10. # please note:
  11. #  
  12. #  * Use the support forum to get help:
  13. #    http://sourceforge.net/tracker/?group_id=11118&atid=211118
  14. #  * Submit bugs only thru our bug forum:
  15. #    http://sourceforge.net/tracker/?group_id=11118&atid=111118 
  16. #    Make sure that the bug has not already been submitted. Please try
  17. #    to verify that it is a Privoxy bug, and not a browser or site
  18. #    bug first. If you are using your own custom configuration, please
  19. #    try the stock configs to see if the problem is a configuration
  20. #    related bug. And if not using the latest development snapshot,
  21. #    please try the latest one. Or even better, CVS sources.
  22. #  * Submit feature requests only thru our feature request forum:
  23. #    http://sourceforge.net/tracker/?atid=361118&group_id=11118&func=browse
  24. #      
  25. # For any other issues, feel free to use the mailing lists:
  26. # http://sourceforge.net/mail/?group_id=11118
  27. #    
  28. # Anyone interested in actively participating in development and related
  29. # discussions can join the appropriate mailing list here:
  30. # http://sourceforge.net/mail/?group_id=11118. Archives are available
  31. # here too.
  32. #################################################################################
  33. #
  34. # Syntax:
  35. #
  36. # Filters start with a line "FILTER: name description". They are then referrable
  37. # from the actionsfile with +filter{name}
  38. #
  39. # Inside the filters, write one Perl-Style substitution (job) per line.
  40. # Jobs that precede the first FILTER: line are ignored.
  41. #
  42. # For Details see the pcrs manpage contained in this distribution.
  43. # (and the perlre, perlop and pcre manpages)
  44. #
  45. # Note that you are free to choose the delimter as you see fit.
  46. #
  47. # Note2: In addidion to the Perl options gimsx, the following nonstandard
  48. # options are supported:
  49. # 'U' turns the default to ungreedy matching.  Add ? to quantifiers to
  50. #     switch back to greedy.
  51. # 'T' (trivial) prevents parsing for backreferences in the substitute.
  52. #     Use if you want to include text like '$&' in your substitute without
  53. #     quoting.
  54. #################################################################################
  55.  
  56.  
  57. #################################################################################
  58. #
  59. # js-annoyances: Get rid of particularly annoying JavaScript abuse
  60. #
  61. #################################################################################
  62. FILTER: js-annoyances Get rid of particularly annoying JavaScript abuse
  63.  
  64. # Note: Most of these jobs would be safer if restricted to a
  65. # <script> context as in:
  66. #
  67. # s/(<script.*)nasty-item(?=.*<\/script>)/$1replacement/sigU
  68. #
  69. # but that would make them match only the first occurance of
  70. # nasty-item in each <script>. We need nestable jobs!
  71.  
  72. # Get rid of Javascript referrer tracking. 
  73. # Test page: http://www.javascript-page.com/referrer.html
  74. #
  75. s|(?:\w+\.)+referrer|"Not Your Business!"|gisU
  76.  
  77. # The status bar is for displaying link targets, not pointless blahblah
  78. s/(\W\s*)((this|window)\.(default)?status)\s*=\s*((['"]).*?(?<!\\)\6)/$1if(typeof(this.href) != 'undefined') $2 = $5 + ' URL: ' + this.href;else return false/ig
  79.  
  80. # Kill OnUnload popups. Yummy.
  81. # Test: http://www.zdnet.com/zdsubs/yahoo/tree/yfs.html
  82. #
  83. s/(<body\s+[^>]*)onunload/$1never/siU
  84. s|(<script.*)window\.onunload(?=.*</script>)|$1never|sigU
  85.  
  86. # If we allow window.open, we want normal window features: 
  87. # Test: http://www.htmlgoodies.com/beyond/notitle.html
  88. #
  89. s/(open\s*\([^\)]+resizable=)(["']?)(?:no|0)\2/$1$2yes$2/sigU
  90. s/(open\s*\([^\)]+location=)(["']?)(?:no|0)\2/$1$2yes$2/sigU 
  91. s/(open\s*\([^\)]+status=)(["']?)(?:no|0)\2/$1$2yes$2/sigU 
  92. s/(open\s*\([^\)]+scroll(?:ing|bars)=)(["']?)(?:no|0)\2/$1$2auto$2/sigU 
  93. s/(open\s*\([^\)]+menubar=)(["']?)(?:no|0)\2/$1$2yes$2/sigU 
  94. s/(open\s*\([^\)]+toolbar=)(["']?)(?:no|0)\2/$1$2yes$2/sigU 
  95. s/(open\s*\([^\)]+directories=)(["']?)(?:no|0)\2/$1$2yes$2/sigU 
  96. s/(open\s*\([^\)]+fullscreen=)(["']?)(?:yes|1)\2/$1$2no$2/sigU
  97. s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU
  98. s/(open\s*\([^\)]+z-?lock=)(["']?)(?:yes|1)\2/$1$2no$2/sigU
  99. s/(open\s*\([^\)]+hotkeys=)(["']?)(?:yes|1)\2/$1$2no$2/sigU
  100. s/(open\s*\([^\)]+titlebar=)(["']?)(?:no|0)\2/$1$2yes$2/sigU
  101. s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU
  102.  
  103.  
  104. #################################################################################
  105. #
  106. # js-events: Kill all JS event bindings and timers (Radically destructive! Only for extra nasty sites)
  107. #
  108. #################################################################################
  109. FILTER: js-events Kill all JS event bindings and timers (Radically destructive! Only for extra nasty sites)
  110.  
  111. s/(on|event\.)((mouse(over|out|down|up|move))|(un)?load|contextmenu|selectstart)/never/ig
  112. # Not events, but abused on the same type of sites:
  113. s/(alert|confirm)\s*\(/concat(/ig
  114. s/settimeout\(/concat(/ig
  115.  
  116. #################################################################################
  117. #
  118. # html-annoyances: Get rid of particularly annoying HTML abuse
  119. #
  120. #################################################################################
  121. FILTER: html-annoyances Get rid of particularly annoying HTML abuse
  122.  
  123. # New browser windows (if allowed -- see no-popups filter below) should be
  124. # resizeable and have a location and status bar
  125. #
  126. s/(<a\s+href[^>]+resizable=)(['"]?)(?:no|0)\2/$1$2yes$2/igU 
  127. s/(<a\s+href[^>]+location=)(['"]?)(?:no|0)\2/$1$2yes$2/igU 
  128. s/(<a\s+href[^>]+status=)(['"]?)(?:no|0)\2/$1$2yes1$2/igU
  129. s/(<a\s+href[^>]+scrolling=)(['"]?)(?:no|0)\2/$1$2auto$2/igU
  130. s/(<a\s+href[^>]+menubar=)(['"]?)(?:no|0)\2/$1$2yes$2/igU
  131.  
  132. # The <BLINK> and <MARQUEE> tags were crimes!
  133. #
  134. s-</?(blink|marquee).*>--sigU
  135.  
  136.  
  137. #################################################################################
  138. #
  139. # content-cookies: Kill cookies that come in the HTML or JS content
  140. #
  141. #################################################################################
  142. FILTER: content-cookies Kill cookies that come in the HTML or JS content
  143.  
  144. # JS cookies, except those used by antiadbuster.com to detect us:
  145. #
  146. s|(\w+\.)+cookie(?=[ \t\r\n]*=)(?!='aab)|ZappedCookie|ig
  147.  
  148. # HTML cookies:
  149. #
  150. s|<meta\s+http-equiv=['"]?set-cookie.*>|<!-- ZappedCookie -->|igU
  151.  
  152.  
  153. #################################################################################
  154. #
  155. # refresh-tags: Kill automatic refresh tags (for dial-on-demand setups)
  156. #
  157. #################################################################################
  158. FILTER: refresh-tags Kill automatic refresh tags (for dial-on-demand setups)
  159.  
  160. # Note: Only deactivates refreshes with more than 9 seconds delay to
  161. #       preserve monster-stupid but common redirections via meta tags.
  162. #
  163. s/<meta\s+http-equiv\s*=\s*(['"]?)refresh\1\s+content\s*=\s*(['"]?)\d{2,}\s*(;\s*url\s*=\s*([^>\2]*))?\2/<link rev="x-refresh" href="$4"/iU
  164.  
  165.  
  166. #################################################################################
  167. #
  168. # unsolicited-popups: Disable unsolicited pop-up windows
  169. #
  170. #################################################################################
  171. FILTER: unsolicited-popups Disable only unsolicited pop-up windows
  172.  
  173. s+([^'"]\s*<head.*>)(?=\s*[^'"])+$1<script>function PrivoxyWindowOpen(){return(null);}</script>+isU
  174. s+([^\w\s.]\s*)((window|this|parent)\.)?open\s*\(+$1PrivoxyWindowOpen(+ig
  175. s+([^'"]\s*</html>)(?!\s*(\\n|'|"))+$1<script>function PrivoxyWindowOpen(a, b, c){return(window.open(a, b, c));}</script>+iU     
  176.  
  177.  
  178. ##################################################################################
  179. #
  180. # all-popups: Kill all popups in JavaScript and HTML
  181. #
  182. #################################################################################
  183. FILTER: all-popups Kill all popups in JavaScript and HTML
  184.  
  185. s/((\W\s*)(window|this|parent)\.)open\s*\\?\(/$1concat(/ig  # JavaScript
  186. s/\starget\s*=\s*(['"]?)_?(blank|new)\1?/ notarget/ig        # HTML
  187.  
  188.  
  189. ##################################################################################
  190. #
  191. # img-reorder: Reorder attributes in <img> tags to make the banners-by-* filters more effective
  192. #
  193. #################################################################################
  194. FILTER: img-reorder Reorder attributes in <img> tags to make the banners-by-* filters more effective
  195.  
  196. # In the first step src is moved to the start, then width is moved to the second
  197. # place to guarantee an order of src, width, height.
  198. # This makes banners-by-size more effective and allows both banners-by-size
  199. # and banners-by-link to preserve the original image URL in the title attribute.
  200.  
  201. s|<img\s+?([^>]*) src\s*=\s*(['"])([^>\\\2]+)\2|<img src=$2$3$2 $1|siUg
  202. s|<img\s+?([^>]*) src\s*=\s*([^'">\\\s]+)|<img src=$2 $1|sig
  203.  
  204. s|<img (src=(?:(['"])[^>\\\\2]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*(["']?)(\d+?)\4|<img $1 width=$4$5$4$3|siUg
  205.  
  206.  
  207. #################################################################################
  208. #
  209. # banners-by-size: Kill banners by size
  210. #
  211. #################################################################################
  212. #
  213. # Standard banner sizes taken from http://www.iab.net/iab_banner_standards/bannersizes.html
  214. #
  215. # Note: Use http://config.privoxy.org/send-banner?type=trans for a transparent 1x1 image
  216. #       Use http://config.privoxy.org/send-banner?type=pattern for a grey/white pattern image
  217. #       Use http://config.privoxy.org/send-banner?type=auto  to auto-select.
  218. #
  219. # Note2: Use img-reorder before this filter to ensure maximum matching success
  220. #
  221. #################################################################################
  222. FILTER: banners-by-size Kill banners by size
  223.  
  224. # 88*31
  225. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)88\4)[^>]*?(height=(['"]?)31\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  226. # 120*60, 120*90, 120*240, 120*600
  227. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)120\4)[^>]*?(height=(['"]?)(?:600?|90|240)\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  228. # 125*125
  229. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)125\4)[^>]*?(height=(['"]?)125\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  230. # 160*600
  231. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)160\4)[^>]*?(height=(['"]?)600\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  232. # 180*150
  233. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)180\4)[^>]*?(height=(['"]?)150\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  234. # 234*60, 468*60 (Most Banners!)
  235. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)(?:234|468)\4)[^>]*?(height=(['"]?)60\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  236. # 240*400
  237. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)240\4)[^>]*?(height=(['"]?)400\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  238. # 250*250, 300*250
  239. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)(?:250|300)\4)[^>]*?(height=(['"]?)250\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  240. # 336*280
  241. s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)336\4)[^>]*?(height=(['"]?)280\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  242.  
  243. # Note: 200*50 was also proposed, but it probably causes too much collateral damage:
  244. #
  245. #s@<img\s+(?:src\s*=\s*(['"]?)([^>\\\1\s]+)\1)?[^>]*?(width=(['"]?)200\4)[^>]*?(height=(['"]?)50\6)[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed-$2-by-size$1 $3 $5>@sig
  246.  
  247.  
  248. #################################################################################
  249. #
  250. # banners-by-link: Kill banners by their links to known clicktrackers (Experimental)
  251. #
  252. #################################################################################
  253. FILTER: banners-by-link Kill banners by their links to known clicktrackers
  254.  
  255. # Common case with width and height attributes:
  256. #
  257. s@<a\s+href\s*=\s*(['"]?)([^>\1\s]*?(?:\
  258.   adclick                             # See www.dn.se \
  259. | atwola\.com/(?:link|redir)          # see www.cnn.com \
  260. | /jump/                              # redirs for doublecklick.net ads \
  261. | tracker | counter                   # common \
  262. | adlog\.pl                           # see sf.net \
  263. )[^>\1\s]*)\1[^>]*>\s*<img\s+(?:src\s*=\s*(['"]?)([^>\\\3\s]+)\3)?[^>]*((?:width|height)\s*=\s*(['"]?)\d+?\6)[^>]*((?:width|height)\s*=\s*(['"]?)\d+?\8)[^>]*>\
  264. @<img $5 $7 src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed $4 by link to $2$1>@sigx
  265.  
  266. # Rare case w/o explicit dimensions:
  267. #
  268. s@<a\s+href\s*=\s*(['"]?)([^>\1\s]*?(?:adclick|atwola\.com/(?:link|redir)|doubleclick\.net/jump/|tracker|counter|adlog\.pl)[^>\1\s]*)\1[^>]*>\s*<img\s+(?:src\s*=\s*(['"]?)([^>\\\3\s]+)\3)?[^>]*>@<img src=$1http://config.privoxy.org/send-banner?type=auto$1 border="0" title=$1Killed $4 by link to $2$1>@sig
  269.  
  270.  
  271. ################################################################################
  272. #
  273. # webbugs: Squish WebBugs (1x1 invisible GIFs used for user tracking)
  274. #
  275. #################################################################################
  276. FILTER: webbugs Squish WebBugs (1x1 invisible GIFs used for user tracking)
  277.  
  278. s@<img[^>]*\s(?:width|height)\s*=\s*['"]?[01](?=\D)[^>]*\s(?:width|height)\s*=\s*['"]?[01](?=\D)[^>]*?>@@siUg
  279.  
  280.  
  281. #################################################################################
  282. #
  283. # tiny-textforms: Extend those tiny textareas up to 40x80 and kill the hard wrap
  284. #
  285. #################################################################################
  286. FILTER: tiny-textforms Extend those tiny textareas up to 40x80 and kill the hard wrap
  287.  
  288. s/(<textarea[^>]*?)(?:\s*(?:rows|cols)=(['"]?)\d+\2)+/$1 rows=$2\40$2 cols=$2\80$2/ig 
  289. s/(<textarea[^>]*?)wrap=(['"]?)hard\2/$1/ig
  290.  
  291.  
  292. #################################################################################
  293. #
  294. # jumping-windows: Prevent windows from resizing and moving themselves
  295. #
  296. #################################################################################
  297. FILTER: jumping-windows Prevent windows from resizing and moving themselves
  298.  
  299. s/(?<=[\W])(?:window|this|self)\.(?:move|resize)(?:to|by)\(/''.concat(/ig
  300.  
  301. #################################################################################
  302. #
  303. # frameset-borders: Give frames a border, make them resizable and scrollable
  304. #
  305. #################################################################################
  306. FILTER: frameset-borders Give frames a border and make them resizable
  307.  
  308. s/(<frameset\s+[^>]*)framespacing=(['"]?)(no|0)\2/$1/igU
  309. s/(<frameset\s+[^>]*)frameborder=(['"]?)(no|0)\2/$1/igU
  310. s/(<frameset\s+[^>]*)border=(['"]?)(no|0)\2/$1/igU
  311. s/(<frame\s+[^>]*)noresize/$1/igU
  312. s/(<frame\s+[^>]*)frameborder=(['"]?)(no|0)\2/$1/igU 
  313. s/(<frame\s+[^>]*)scrolling=(['"]?)(no|0)\2/$1/igU
  314.  
  315.  
  316.  
  317. #################################################################################
  318. #
  319. # demoronizer: Correct Microsoft's abuse of standardized character sets, which 
  320. #              leave the browser to (mis)-interpret unknown characters, with 
  321. #              sometimes bizarre results on non-MS platforms.
  322. #
  323. # credit: ripped from the demoroniser.pl script by: 
  324. #         John Walker -- January 1998, http://www.fourmilab.ch/webtools/demoroniser
  325. #
  326. #################################################################################
  327. FILTER: demoronizer Fix MS's non-standard use of standard charsets
  328.  
  329. s/(&\#[0-2]\d\d)\s/$1; /g
  330. # per Robert Lynch: http://slate.msn.com//?id=2067547, just a guess.
  331. # Must come before x94 below.
  332. s/\xE2\x80\x94/ -- /g
  333. s/\x82/,/g
  334. #s-\x83-<em>f</em>-g
  335. s/\x84/,,/g
  336. s/\x85/.../g
  337. #s/\x88/^/g
  338. #s-\x89- ░/░░-g
  339. s/\x8B/</g
  340. s/\x8C/Oe/g
  341. s/\x91/`/g
  342. s/\x92/'/g
  343. s/(\x93|\x94)/"/g
  344. # Bullet type character.
  345. s/\x95/·/g
  346. s/\x96/-/g
  347. s/\x97/--/g
  348. #s-\x98-<sup>~</sup>-g
  349. #s-\x99-<sup>TM</sup>-g
  350. # per Robert Lynch.
  351. s/\x9B/>/g                  # 155
  352.  
  353.  
  354. #################################################################################
  355. #
  356. # shockwave-flash: Kill embedded Shockwave Flash objects
  357. #                  Note: Better just block "/.*\.swf$"!
  358. #
  359. #################################################################################
  360. FILTER: shockwave-flash Kill embedded Shockwave Flash objects
  361.  
  362. s|<object [^>]*macromedia.*</object>|<!-- Squished Shockwave Object -->|sigU
  363. s|<embed [^>]*(application/x-shockwave-flash\|\.swf).*>(.*</embed>)?|<!-- Squished Shockwave Flash Embed -->|sigU
  364.  
  365.  
  366. #################################################################################
  367. #
  368. # quicktime-kioskmode: Make Quicktime movies saveable
  369. #
  370. #################################################################################
  371. FILTER: quicktime-kioskmode Make Quicktime movies saveable
  372.  
  373. s/(<embed\s+[^>]*)kioskmode\s*=\s*(["']?)true\2/$1/ig 
  374.  
  375.  
  376. #################################################################################
  377. #
  378. # fun: Text replacements for subversive browsing fun!
  379. #
  380. #################################################################################
  381. FILTER: fun Text replacements for subversive browsing fun!
  382.  
  383. # SCNR
  384. #
  385. s/microsoft(?!.[^\s])/MicroSuck/ig
  386.  
  387. # Buzzword Bingo (example for extended regex syntax)
  388. #
  389. s* (?:industry|world)[ -]leading \
  390. |  cutting[ -]edge \
  391. |  customer[ -]focused \
  392. |  market[ -]driven \
  393. |  award[ -]winning # Comments are OK, too! \
  394. |  high[ -]performance \
  395. |  solutions[ -]based \
  396. |  unmatched \
  397. |  unparalleled \
  398. |  unrivalled \
  399. *$0<sup><font color="red"><b>Bingo!</b></font></sup> \
  400. *igx
  401.  
  402. # For Germans only
  403. #
  404. s/(M|m)edien(?![^<]*>)/$1ädchen/Ug
  405.  
  406. #################################################################################
  407. #
  408. # crude-parental: Crude parental filtering?  (Use along with a suitable blocklist).
  409. #                 Shows how to deny access to whole page based on a keyword.
  410. #
  411. #################################################################################
  412. FILTER: crude-parental Crude parental filtering (demo only)
  413.  
  414. # (Note: Middlesex, Sussex and Essex are counties in the UK, not rude words)
  415. # (Note #2: Is 'sex' a rude word?!)
  416.  
  417. s%^.*(?<!middle)(?<!sus)(?<!es)sex.*$%<html><head><title>Blocked</title></head><body><h3>Blocked due to possible adult content. Please see <a href="http://dmoz.org/Kids_and_Teens/">this site</a>.</h3></body></html>%is
  418. s+^.*warez.*$+<html><head><title>No Warez</title></head><body><h3>You're not searching for illegal stuff, are you?</h3></body></html>+is
  419.  
  420.  
  421. #################################################################################
  422. #
  423. # IE-Exploits: Disable some known Internet Explorer bug exploits
  424. #
  425. #################################################################################
  426. FILTER: ie-exploits Disable some known Internet Explorer bug exploits
  427.  
  428. # Note: This is basically a demo and waits for someone more interested in IE
  429. # security (sic!) to take over.
  430.  
  431. # Cross-site-scripting:
  432. #
  433. s%f\("javascript:location.replace\('mk:@MSITStore:C:'\)"\);%alert\("This page looks like it tries to use a vulnerability described here:\n http://online.securityfocus.com/archive/1/298748/2002-11-02/2002-11-08/2"\);%siU
  434.  
  435. # Address bar spoofing (http://www.secunia.com/advisories/10395/):
  436. #
  437. s/(<a[^>]*href[^>]*)(?:\x01|\x02|\x03|%0[012])@/$1MALICIOUS-LINK@/ig
  438.  
  439. # Nimda:
  440. #
  441. s%<script language="JavaScript">(window\.open|1;''\.concat)\("readme\.eml", null, "resizable=no,top=6000,left=6000"\)</script>%<br><font size="7"> WARNING: This Server is infected with <a href="http://www.cert.org/advisories/CA-2001-26.html">Nimda</a>!</font>%g
  442.  
  443.  
  444. #################################################################################
  445. #
  446. #
  447. # site-specifics: Cure for site-specific problems. Don't apply generally!
  448. #
  449. #   Note: The fixes contained here are so specific to the problems of the
  450. #         particular web sites they are designed for that they would be a
  451. #         waste of CPU cycles (or even destructive!) on 99.9% of the web
  452. #         sites where they don't apply.
  453. #
  454. #################################################################################
  455. FILTER: site-specifics Cure for site-specific problems. Don't apply generally!
  456.  
  457. # www.spiegel.de excludes X11 users from viewing Flash5 objects - shame.
  458. # Apply to: www.spiegel.de/static/js/flash-plugin.js 
  459. #
  460. s/indexOf\("x11"\)/indexOf("x13")/
  461.  
  462. # www.quelle-bausparkasse.de uses a very stupid redirect mechanism that
  463. # relies on a webbug being present. Can we tolerate that? No!
  464. # Apply to: www.quelle-bausparkasse.de/$
  465. #
  466. s/mylogfunc()//g
  467.  
  468. # groups.yahoo.com has splash pages that one needs to click through in
  469. # order to access the actual messages. Let the browser do that. Thanks
  470. # to Paul Jobson for this one:
  471. #
  472. s|<a href="(.+?)">(?:Continue to message\|Weiter zu Nachricht)</a>|<meta http-equiv="refresh" content="0; URL=$1">|ig
  473.  
  474. # monster.com has two very similar gimmicks:
  475. #
  476. s|<input type="hidden" name="REDIRECT" value="(.+?)">|<meta http-equiv="refresh" content="0; URL=$1">|i
  477.  
  478. s|<IMG SRC="http://media.monster.com/mm/usen/my/no_thanks_211x40.gif".+?>|<meta http-equiv="refresh" content="0; URL=http://my.monster.com/resume.asp">|i 
  479.  
  480. # nytimes.com triggers popups through the onload handler of dummy images
  481. # to fool popup-blockers.  
  482. #
  483. s|(<img [^>]*)onload|$1never|sig
  484.  
  485. # Pre-check all the "Discard" buttons in GNU Mailman's web interface.
  486. # (This saves a lot of mouse aiming practice when flushing spamtraps)
  487. #
  488. s|(<INPUT name="\d{2,4}" type="RADIO" value="0") CHECKED |$1|g
  489. s|<INPUT name="\d{2,4}" type="RADIO" value="3" |$0 checked|g
  490.  
  491. #################################################################################
  492. #
  493. # no-ping: Removes non-standard ping attributes in <a> and <area> tags.
  494. #          
  495. #################################################################################
  496. FILTER: no-ping Removes non-standard ping attributes in <a> and <area> tags.
  497. s@(<a(?:rea)?[^>]*?)\sping=(['"]?)([^"'>]+)\2([>\s]?)@\
  498. <strong style="color:white; background-color:red;" title="Privoxy removed ping target '$3'">PING!</strong>\n$1$4@ig
  499.  
  500. #################################################################################
  501. #
  502. # google: CSS-based block for Google text ads. Also removes
  503. #         a width limitation and the toolbar advertisement.
  504. #
  505. #################################################################################
  506. FILTER: google CSS-based block for Google text ads. Also removes a width limitation and the toolbar advertisement.
  507. s@</head>@<style type="text/css">\n\
  508.  /* Style sheet inserted by Privoxy's google filter. */\n\
  509.  \#fbc, \#fbl, \#ra, .rhh {visibility: hidden !important;}\n\
  510.  \#tpa1,\#tpa2,\#tpa3,\#tpa4,\#tpa5,\#tpa5, \#spl, .ch, \#ads,\
  511.  \#toolbar, \#google_ads_frame{display: none !important;}\n\
  512.  .main_body, .j {width: 100%}\n</style>\n$0@
  513. s@<div style=\"padding-top:11px;min-width:500px\">@<div id="main_body">@
  514. s@(<table cellspacing=0 cellpadding=0 width=25% align=right bgcolor=\#ffffff border=0\
  515. |</font></td></tr></tbody></table><table align=\"right\" bgcolor=\"\#ffffff\"\
  516. |<table cellspacing=0 cellpadding=0 align=right bgcolor=\#ffffff border=0\
  517. |<table style=\"clear:both\" align=right width=25% cellspacing=\"0\" cellpadding=\"0\"\
  518.  border=\"0\" bgcolor=\"\#ffffff\")@$0 id="ads"@
  519. s@(<br clear=all><table)( border=0 cellpadding=9><tr><td)@$1 id="toolbar"$2@
  520.  
  521. #################################################################################
  522. #
  523. # yahoo: CSS-based block for Yahoo text ads. Also removes a width limitation.
  524. #
  525. #################################################################################
  526. FILTER: yahoo CSS-based block for Yahoo text ads. Also removes a width limitation.
  527. s@</head>@\n<style type="text/css">\n\
  528.  /* Style sheet inserted by Privoxy's yahoo filter. */\n\
  529.  \#symadbn, \#ymadbn, .yschbox, \#yschsec, .yschhd, \#yschanswr, .yschftad,\
  530.  .yschspn, .yschspns, \#ygrp-sponsored-links {display: none !important;}\n\
  531.  \#yschpri, \#yschweb {width: 100% !important; max-width: 100% !important;}\n\
  532.  \#yschqcon, \#yschtg {width: auto !important; /* No useless horizontal scrollbar please */}\n\
  533. </style>\n$0@
  534.  
  535. #################################################################################
  536. #
  537. # msn: CSS-based block for MSN text ads. Also removes tracking URLs
  538. #      and a width limitation.
  539. #
  540. #################################################################################
  541. FILTER: msn CSS-based block for MSN text ads. Also removes tracking URLs and a width limitation.
  542. s@</head>@<style type="text/css">\n\
  543.  /* Style sheet inserted by Privoxy's msn filter. */\n\
  544.  .msn_ads {display: none !important;}\n\
  545.  \#results, .flank, .results_area_flank, .results_area_stroke, .SearchSection .not\
  546.  {width: 99% /*!important*/; min-width: 99% !important;\
  547.  max-width: 100% !important; /* width:100% sometimes causes horizontal scrollbars */}\n\
  548.  /* Make continue links harder to miss */\n\
  549.  \#pagination_bottom a {padding: .3em .5em .3em .5em; border: 1px solid \#e6e6e6;}\n\
  550.  \#pagination_bottom li, \#pagination_bottom li .selected, li .nextPage \
  551.  {margin: 0 !important; cursor: auto; border: none; padding:.1em;}\n\
  552.  \#pagination_bottom li .prevPage {padding-right: 1.5em !important;}\n\
  553.  \#pagination_bottom li .selected {border: none;}\n\
  554.  .selected a {background-color: \#d2eaf6; border: 1px solid \#b7d8ee;}\n\
  555.  /* Remove "suggestions". They are next to worthless but partly overlap with the search results */\n\
  556.  .suggestion, \#nys_right {clear: both; display:none;}\n\
  557.  </style>\n$0@
  558. s@(<div[^>]*) id=(["']?)ads_[^\2]*\2@$1 class="msn_ads"@Uig
  559. s@(<a[^>]*href=\")http://g.msn.com/.*\?(http://.*)(&&DI=.*)(\")@$1$2$4@Ug
  560. s@(<a[^>]*)gping=\".*\"@$1 title="URL cleaned up by Privoxy's msn filter"@Ug
  561.  
  562. #################################################################################
  563. #
  564. # blogspot: Cleans up some Blogspot blogs. Read the fine print before using this.
  565. #
  566. #           This filter also intentionally removes some navigation stuff and
  567. #           sets the page width to 100%. As a result, some rounded "corners" would
  568. #           appear to early or not at all and as fixing this would require a browser
  569. #           that understands background-size (CSS3), they are removed instead.
  570. #
  571. #################################################################################
  572. FILTER: blogspot Cleans up some Blogspot blogs. Read the fine print before using this.
  573. s@</head>@<style type="text/css">\n\
  574.  /* Style sheet inserted by Privoxy's blogspot filter. */\n\
  575.  \#powered-by {display: none !important;}\n\
  576.  \#wrap4, \#wrapper {margin-top: 0px }\n\
  577.  \#blogheader, \#header {margin-top: 0.5em !important}\n\
  578.  \#content {width: 98% }\n\
  579.  \#main {width: 70% }\n\
  580.  \#sidebar {width: 29% }\n\
  581.  .post-body {overflow: auto;}\n\
  582.  .blogComments {width: 100%; overflow: auto;}\n</style>\n$0@
  583. s@<body.*(?:<div id="space-for-ie"></div>|(<div id="(?:content|wrap4|wrapper)))@<body>\
  584.  <!-- Privoxy's blogspot filter ditched some garbage here -->$1@Us
  585. s@(<div style=\"[^\"]*width:)30em@$1 100%@
  586. s@background:url\(\"http://www.blogblog.com/rounders[^\"]*\"\).*;@/*$0*/@Ug
  587. s@(background:\#[a-f\d]{3})( url\(\"http://www.blogblog.com/rounders[^\"]*\"\).*;)@$1 ;/*$2*/@Ug
  588.  
  589. #################################################################################
  590. #
  591. # x-httpd-php-to-html: Header filter to change the Content-Type from
  592. #                      x-httpd-php to html. "Content-Type: x-httpd-php"
  593. #                      is set by clueless PHP users and causes many
  594. #                      browsers do open a download menu instead of
  595. #                      rendering the page.
  596. #
  597. #################################################################################
  598. FILTER: x-httpd-php-to-html Header filter to change the Content-Type from x-httpd-php to html.
  599. s@^(Content-Type:) application/x-httpd-php@$1 text/html@
  600.  
  601. #################################################################################
  602. #
  603. # html-to-xml: Header filter to change the Content-Type from html to xml.
  604. #
  605. #################################################################################
  606. FILTER: html-to-xml Header filter to change the Content-Type from html to xml.
  607. s@^(Content-Type:) text/html(;.*)?$@$1 application/xhtml+xml$2@
  608.  
  609. #################################################################################
  610. #
  611. # xml-to-html: Header filter to change the Content-Type from xml to html.
  612. #
  613. #################################################################################
  614. FILTER: xml-to-html Header filter to change the Content-Type from xml to html.
  615. s@^(Content-Type:) (?:application|text)/(?:xhtml\+)?xml(;.*)?$@$1 text/html$2@
  616.  
  617. #################################################################################
  618. #
  619. # hide-tor-exit-notation: Header filter to remove the Tor exit node notation
  620. #                         in Host and Referer headers.
  621. #
  622. #   Note: If Privoxy and Tor are chained and Privoxy is configured to
  623. #         use socks4a, one can use http://www.example.org.foobar.exit/
  624. #         to access the host www.example.org through Tor exit node foobar.
  625. #
  626. #         As the HTTP client isn't aware of this notation, it treats the
  627. #         whole string "www.example.org.foobar.exit" as host and uses it
  628. #         for the "Host" and "Referer" headers. From the server's point of
  629. #         view the resulting headers are invalid and can cause problems.
  630. #
  631. #         An invalid "Referer" header can trigger "hot-linking" protections,
  632. #         an invalid "Host" header will make it impossible for the server to
  633. #         find the right vhost (several domains hosted on the same IP address).
  634. #
  635. #         This filter removes the "foo.exit" part in those headers
  636. #         to prevent the mentioned problems. Note that it only modifies
  637. #         the HTTP headers, it doesn't make it impossible for the server
  638. #         to detect your Tor exit node based on the IP address the request is
  639. #         coming from.
  640. #
  641. #################################################################################
  642. FILTER: hide-tor-exit-notation Header filter to remove the Tor exit node notation in Host and Referer headers.
  643. s@^((?:Referer|Host):\s*(?:https?://)?[^/]*)\.[^\./]*?\.exit@$1@i
  644.  
  645.  
  646. ############################################################################## 
  647. #
  648. #  Revisions   :
  649. #     $Log: default.filter,v $
  650. #     Revision 1.33  2006/11/16 17:10:43  fabiankeil
  651. #     Removed webbugs debugging comment again.
  652. #     The apostrophe could break JavaScript and
  653. #     the comment itself could mess up existing
  654. #     comments.
  655. #
  656. #     Revision 1.32  2006/11/10 18:04:04  fabiankeil
  657. #     Have no-ping print the ping warning in red.
  658. #
  659. #     Modified yahoo to keep in sync with recent
  660. #     CSS changes and to suppress a useless horizontal
  661. #     scrollbar.
  662. #
  663. #     msn now makes sure that the continue-link boxes
  664. #     act as links (the original CSS just changes the cursor).
  665. #
  666. #     Changed fun filter regex to leave microsoft links alone.
  667. #     Fixes BR 1019996.
  668. #
  669. #     Revision 1.31  2006/10/21 13:12:28  fabiankeil
  670. #     Added no-ping and hide-tor-exit-notation.
  671. #
  672. #     Adjusted jumping-windows to break less.
  673. #     Fixes BR 1146134.
  674. #
  675. #     Revision 1.30  2006/10/18 12:36:50  fabiankeil
  676. #     google filter now cleans Google groups as well.
  677. #
  678. #     Revision 1.29  2006/10/11 14:03:17  fabiankeil
  679. #     Changed img-reorder regex to only move width
  680. #     attributes if they are following at least one
  681. #     whitespace. Fixes BR 1328455.
  682. #
  683. #     Revision 1.28  2006/10/11 13:31:13  fabiankeil
  684. #     Added Anduin Withers' js-annoyances fix
  685. #     for not messing up escaped quotes. Fixes BR 999765.
  686. #
  687. #     Improved blogspot filter to make it less likely that
  688. #     the blogspot banner at the top of the page is missed.
  689. #
  690. #     Revision 1.27  2006/10/08 17:00:51  fabiankeil
  691. #     Modified webbugs filter to create a comment around the offending
  692. #     image instead of removing it entirely.
  693. #
  694. #     Adjusted regex to only match if there's at least one whitespace
  695. #     before the width and height attributes. Makes it more likely that
  696. #     they are indeed attributes, and not part of the value of another attribute.
  697. #     Solves BR 1035587.
  698. #
  699. #     Thanks to Martin Thomas for diagnosing the cause of the problem.
  700. #
  701. #     Revision 1.26  2006/10/06 18:06:16  fabiankeil
  702. #     Added header filter x-httpd-php-to-html
  703. #     and reverted another img-reorder whitespace
  704. #     problem.
  705. #
  706. #     Revision 1.25  2006/10/06 15:26:09  fabiankeil
  707. #     Bumped copyright year.
  708. #
  709. #     Reverted parts of the last img-reorder change
  710. #     which were intended to remove superfluous whitespace
  711. #     but had the side effect to mess up some tags.
  712. #
  713. #     Modified banners-by-size and banners-by-link to
  714. #     use border value "0" instead of "\0". Fixes BR 1100065.
  715. #
  716. #     Revision 1.24  2006/10/06 11:25:31  fabiankeil
  717. #     Taught img-reorder not to break img tags
  718. #     with empty src attributes. Fixes BR 1089474.
  719. #     Thanks to Raphael Moll for reporting.
  720. #
  721. #     Revision 1.23  2006/10/05 14:46:28  fabiankeil
  722. #     Replaced "<" in img-reorder's description with "<".
  723. #
  724. #     Modified msn filter to tag ads with classes instead
  725. #     of ids. There may be more than one ad per page,
  726. #     but ids are required to be unique.
  727. #
  728. #     Revision 1.22  2006/10/04 19:17:14  fabiankeil
  729. #     Incorportated FrΘdΘric Crozat's ie-exploits
  730. #     modification to make it less trigger-happy.
  731. #
  732. #     Modified blogspot filter to make .post-body
  733. #     scrollable if necessary.
  734. #
  735. #     Revision 1.21  2006/10/02 16:21:14  fabiankeil
  736. #     Adjusted yahoo filter to hide .yschspns as well.
  737. #     Added header filters: html-to-xml and xml-to-html.
  738. #
  739. #     Revision 1.20  2006/10/01 21:00:22  fabiankeil
  740. #     New site-specific filters: google, yahoo, msn and blogspot.
  741. #
  742. #     Revision 1.19  2006/07/18 14:48:45  david__schmidt
  743. #     Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
  744. #     with what was really the latest development (the v_3_0_branch branch)
  745. #
  746. #     Revision 1.11.2.23  2004/02/17 13:34:01  oes
  747. #     - Beefed up the protection of the unsolicited-popups
  748. #       filter against matching in JavaScript string constants.
  749. #     - Extended the fun filter with a German joke
  750. #     - Extended the site-specifics filter with a convenience
  751. #       reeplacement for managing mailing lists at SourceForge
  752. #
  753. #     Revision 1.11.2.22  2004/01/30 15:29:29  oes
  754. #     Updated the copyright note
  755. #
  756. #     Revision 1.11.2.21  2004/01/20 15:15:01  oes
  757. #     Detail enhancement in all-popups
  758. #
  759. #     Revision 1.11.2.20  2004/01/06 16:46:14  oes
  760. #     Fixed a JS syntax problem in jumping-windows
  761. #
  762. #     Revision 1.11.2.19  2003/12/17 17:09:25  oes
  763. #     Added remedy against IE address bar spoofing
  764. #
  765. #     Revision 1.11.2.18  2003/12/02 11:25:27  oes
  766. #     Fixed a line trashed in previous commit
  767. #
  768. #     Revision 1.11.2.17  2003/12/01 21:58:46  oes
  769. #     Assorted tuning:
  770. #
  771. #      - unsolicited-popups no longer matches at start or end of quoted
  772. #        strings, and is now activated earlier and deactivated later in
  773. #        the page.
  774. #      - replacement images in banners-by-* now without border
  775. #      - more effective shockwave flash flattening
  776. #      - Custom annoyance filtering for Yahoo Groups, Monster.com, NY Times.
  777. #
  778. #     Revision 1.11.2.16  2003/05/08 09:44:56  oes
  779. #     Allow extra parameters in blink,marquee tags. Fixes bug #734012
  780. #
  781. #     Revision 1.11.2.15  2003/03/30 13:57:08  oes
  782. #     Making unsolicited-popups safe for use on <html> tags enclosed in JS strings
  783. #
  784. #     Revision 1.11.2.14  2003/03/19 13:17:50  oes
  785. #     - Added filter "site-specifics" to address site specific problems
  786. #     - Fixed a small problem in the img-reorder filter
  787. #
  788. #     Revision 1.11.2.13  2003/03/18 19:28:59  oes
  789. #     Fixed a minor problem in the img-reorder filter
  790. #
  791. #     Revision 1.11.2.12  2003/03/15 14:06:58  oes
  792. #      - Assorted refinements, optimizations and fixes in the js-annoyances,
  793. #        img-reorder, banners-by-size, banners-by-link, webbugs, refresh-tags,
  794. #        html-annoyances, content-cookies and fun filters
  795. #      - Replaced filter "popups" by choice between two modes:
  796. #        - "unsolicited-popups" tries to catch only the unsolicited ones
  797. #        - "all-popups" tries to kill them all (as before)
  798. #      - New filter "tiny-textforms" Help those tiny or hard-wrap textareas.
  799. #      - New filter "jumping-windows" that prevents windows from resizing
  800. #        and moving themselves
  801. #      - Replaced "nimda" with more general "ie-exploits" filter in which
  802. #        all filters for exploits shall be collected
  803. #
  804. #     Revision 1.11.2.11  2002/11/12 16:14:43  oes
  805. #     Exchanged js-annoyance filter against status bar rewrites with improved version by Don Libes
  806. #
  807. #     Revision 1.11.2.10  2002/11/11 13:39:47  oes
  808. #     Make refresh-tags filter work even on incorrect refresh tags like found on usatoday.com
  809. #
  810. #     Revision 1.11.2.9  2002/11/08 16:39:17  oes
  811. #     Made img-reorder more cautious. Fixes bug #632715
  812. #
  813. #     Revision 1.11.2.8  2002/10/13 21:56:52  hal9
  814. #     Adding demoronizer filter. This should include all the common abuses. I have
  815. #     left a few of the rare cases commented out (never found these in the wild).
  816. #
  817. #     Revision 1.11.2.7  2002/09/25 15:09:39  oes
  818. #     Preserve original quoting style in <img> tags wherever possible. Fixes Bug #605956
  819. #
  820. #     Revision 1.11.2.6  2002/08/23 14:12:26  oes
  821. #     Proofed frameset-borders against "fremaborder=0 border=0"
  822. #
  823. #     Revision 1.11.2.5  2002/08/22 15:05:20  oes
  824. #     Added Filter to make Quicktime movies saveable (thanks to aaron@linville.org for the idea)
  825. #
  826. #     Revision 1.11.2.4  2002/08/10 11:32:29  oes
  827. #     Attribute values in replacement tags of banners-by-size filter now undelimited. (Fixes bug #592493)
  828. #
  829. #     Revision 1.11.2.3  2002/08/05 11:43:56  oes
  830. #     Fixed a bug in the popups filter that was introduced with the last fix :-(
  831. #
  832. #     Revision 1.11.2.2  2002/08/01 11:20:13  oes
  833. #     Fixed bugs 587802, 577802 and an unreported one
  834. #
  835. #     Revision 1.11.2.1  2002/07/26 15:18:26  oes
  836. #     - All filters reviewed and many shorcomings fixed
  837. #     - New filters: img-reorder, banners-by-link and js-events
  838. #     - Jobs reorderd because they are now executed in order of
  839. #       appearance
  840. #
  841. #     Revision 1.11  2002/05/24 00:57:18  oes
  842. #     Made WeBugs job ungreedy; Fixes bug 559190
  843. #
  844. #     Revision 1.10  2002/04/18 10:14:19  oes
  845. #     renamed some filters
  846. #
  847. #     Revision 1.9  2002/04/11 07:36:35  oes
  848. #     Generalized js-popup filter
  849. #
  850. #     Revision 1.8  2002/04/10 17:07:21  oes
  851. #     Fixed potentially desctructive jobs, added noflash filter
  852. #
  853. #     Revision 1.7  2002/04/09 18:34:51  oes
  854. #     Fixed HTML syntax in replacements
  855. #
  856. #     Revision 1.6  2002/04/03 19:49:52  swa
  857. #     name change
  858. #
  859. #     Revision 1.5  2002/03/27 15:30:26  swa
  860. #     have a consistent appearance
  861. #
  862. #     Revision 1.4  2002/03/26 22:29:54  swa
  863. #     we have a new homepage!
  864. #
  865. #     Revision 1.3  2002/03/24 16:08:03  jongfoster
  866. #     Fixing banners-by-size for new config URLs
  867. #
  868. #     Revision 1.2  2002/03/24 13:02:18  swa
  869. #     name change related issues.
  870. #
  871. #     Revision 1.1  2002/03/24 11:37:39  jongfoster
  872. #     Name change
  873. #
  874. #     Revision 1.24  2002/03/16 20:39:54  oes
  875. #      - Added descriptions to the filters so users will know what they select in the cgi editor
  876. #      - Added content-cookies filter
  877. #      - Bugfixed many jobs (Thanks to Al for some hints)
  878. #
  879. #     Revision 1.22  2002/03/12 13:42:50  oes
  880. #     Fixing & Optimizing REs
  881. #
  882. #     Revision 1.21  2002/03/12 11:59:20  oes
  883. #     Beefed up Buzzword Bingo
  884. #
  885. #     Revision 1.20  2002/03/12 01:42:50  oes
  886. #     Introduced modular filters
  887. #
  888. #     Revision 1.19  2002/03/10 19:49:24  oes
  889. #     Added expression to kill referer tracking in JavaScripts
  890. #
  891. #     Revision 1.18  2002/03/08 17:14:12  oes
  892. #     PNG -> image in comments
  893. #
  894. #     Revision 1.17  2002/03/07 03:50:54  oes
  895. #     Adapted comments to new built-in images
  896. #
  897. #     Revision 1.16  2002/02/21 00:12:19  jongfoster
  898. #     Modifying the banner regexps to use long URLS and to autodetect
  899. #     whether to show a logo or a transparent GIF, based on actionsfile
  900. #     setting.
  901. #
  902. #     Revision 1.15  2001/12/28 23:54:20  steudten
  903. #     Fix for feature Req #495374: http-equiv problem
  904. #
  905. #     Revision 1.14  2001/12/09 18:55:11  david__schmidt
  906. #     Updated CODE_STATUS to beta, commented out microsuck line in re_filterfile
  907. #     for 2.9.10 beta
  908. #
  909. #     Revision 1.13  2001/10/13 13:11:20  joergs
  910. #     Fixed WebBug filter.
  911. #
  912. #     Revision 1.12  2001/10/07 15:46:42  oes
  913. #     Followed Guy's proposal to change the document.cookie job
  914. #
  915. #     Revision 1.11  2001/09/21 12:34:00  joergs
  916. #     Added filter to replace "Nimda" code by a warning.
  917. #
  918. #     Revision 1.10  2001/07/20 11:04:26  oes
  919. #     Added Rodneys javascript cookie filter
  920. #
  921. #     Revision 1.9  2001/07/13 14:03:48  oes
  922. #     Elimiated yet another bug in the banner-by-size jobs. Shame on me!
  923. #
  924. #     Revision 1.8  2001/06/29 13:34:00  oes
  925. #     - Added explanation for U and T options
  926. #     - Added hint on image replacement by CGI call
  927. #     - Fixed bug in banner-by-size jobs
  928. #
  929. #     Revision 1.7  2001/06/19 14:21:56  oes
  930. #     Fixed microsuck line
  931. #
  932. #     Revision 1.6  2001/06/09 14:01:57  swa
  933. #     header. cosmetics. default: no messing ala microsuck.
  934. #
  935. #
  936.  
  937.  
  938.